package dailytest;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.date.format.DateParser;

import javax.swing.text.DateFormatter;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * @author: heweiwei
 * @Date: 2023/1/10 11:44
 * @Desc:
 */
public class DateTest {


        public static void main(String[] args) {

            List<Integer> list = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
            list.add(11);

            SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

            DateTime blood_start_time = DateUtil.parse("2025-03-02 17:35:00", dateFormatter);
            DateTime receive_date = DateUtil.parse("2025-03-02 17:22:00", dateFormatter);

            System.out.println(blood_start_time.getTime()<receive_date.getTime());
            System.out.println(blood_start_time.getTime()>receive_date.getTime());


        }
}
